<!DOCTYPE html>
<html>

<head>
    <style>
        /* 使用table-cell实现水平垂直居中 */
        .father {
            width: 600px;
            height: 600px;
            margin: auto;
            background-color: antiquewhite;
            line-height: 600px;
            vertical-align: middle;
        }

        img {
            vertical-align: middle;
        }



    </style>
</head>

<body>
    <div class="father">
        <img src="../../../图像处理二三事/mountain.jpg" width="200" height="200">
    </div>
</body>

</html>